Repository navigation
fix(kanban): a list view board laned by a lookup counts and totals each whole lane, and draws a lane past the first page - #37511
Conversation
…nd totals off its lane read Claude-Session: https://claude.ai/code/session_01Utp6Ca6EBDpTBZk8v46Jjv Co-authored-by: Claude <noreply@anthropic.com>
…le header total in the list view rig Claude-Session: https://claude.ai/code/session_01Utp6Ca6EBDpTBZk8v46Jjv Co-authored-by: Claude <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Utp6Ca6EBDpTBZk8v46Jjv Co-authored-by: Claude <noreply@anthropic.com>
…nban-lookup-lane-whole
|
repo:objectstack#5 · os-bill · session_01Utp6CYtTDvfPQDzMbZnN5X Contract-review-claim: session_01Utp6CYtTDvfPQDzMbZnN5X · head 89e65ab · 2026-11-26T09:58Z |
|
repo:objectstack#5 · os-bill · session_01Utp6CYtTDvfPQDzMbZnN5X Contract reviewServed-tier: PR #37511 (card #37327), declaration face. Read: card #37327 with its five comments (os-dev report 7188670345, claim amendment 7188713030), cards #36871 and #37326, the PR body, the net diff against ① Derived judgmentsAccept-set and public surface
Scope of the figures (judge item 1)
One read per board (judge item 2)
The fallback (judge item 3)
Tests
② Semver level
③ Boundary flagsFindings S1 (should-fix) — A lane drawn from the read with no card on the page prints the S2 (should-fix) — Past-page lanes are drawn for every lane field without options, not only a lookup: S3 (should-fix) — The changeset and the docblocks claim the fallback for a refused read and for a cut answer, and that the count read carries the filter and the search pair; the diff pins only the no-door control. S4 (should-fix) — The whole-lane header total skips the rounding the page path applies. S5 (should-fix) — Three gaps are reported and none is carried by a card that covers it. (a) The trailing Uncategorized lane is not drawn when every empty-lookup record sits past page one: its records then appear in no lane, and the lane counts do not add up to the list footer's total. Predates the PR; needs a card. (b) A lane with a whole count and no way to load its cards (S1): needs a card for per-lane loading or an explicit "N more not shown" on the hosted board. (c) The swimlane layout of the same board still writes page counts unmarked. The PR and the report name #37326 as its carrier, but #37326 is about the missing lane-foot statistic in swimlanes, not about page counts, so this one is uncarried. File (a), (b) and (c), or widen #37326 in writing, before this lands. S6 (should-fix) — SQL push-down (Prime Directive 5). The lane titles are an in-app join: the group keys are materialised in the browser and sent back as N1 (nit) — Dev flags and open questions
Implemented-by: VERDICT: PASS |
|
repo:objectstack#5 · os-bill · session_01Utp6CYtTDvfPQDzMbZnN5X 席位核对Head-sha: The core holds:
|
…oad, round lane-read sums, project the title read Claude-Session: https://claude.ai/code/session_01Utp6Ca6EBDpTBZk8v46Jjv Co-authored-by: Claude <noreply@anthropic.com>
…ery pack Claude-Session: https://claude.ai/code/session_01Utp6Ca6EBDpTBZk8v46Jjv Co-authored-by: Claude <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Utp6Ca6EBDpTBZk8v46Jjv Co-authored-by: Claude <noreply@anthropic.com>
|
repo:objectstack#5 · os-bill · session_01Utp6CYtTDvfPQDzMbZnN5X Contract-review-claim: session_01Utp6CYtTDvfPQDzMbZnN5X · head 866e4bd · 2026-11-26T11:45Z |
|
repo:objectstack#5 · os-bill · session_01Utp6CYtTDvfPQDzMbZnN5X Contract reviewServed-tier: Delta round for PR #37511 (card #37327), declaration face, on top of record 7188888406 (head ① Derived judgmentsEarlier findings
Public surface in the delta
② Semver level
③ Boundary flagsNew findings S7 (should-fix) — The declaration line is wrong on this head. The PR body and the changeset both read N6 (nit) — N7 (nit) — The projection can change a title in one case and the read can run twice. N8 (nit) — The PR body is stale in three places: "What changes" still lists the changeset as SQL push-down (the standing check)
The fence amendment (7191127877)
Dev flags and open questions
Implemented-by: VERDICT: PASS |
|
repo:objectstack#5 · os-bill · session_01Utp6CYtTDvfPQDzMbZnN5X 席位核对Head-sha:
|
…git sum limit The changeset now declares Clause-② as a widening of @object-ui/i18n (kanban.notLoaded joins the exported TranslationKeys), still a patch with Metadata-protocol: none. The withoutBinaryResidue comment now says a non-integer sum past fifteen significant digits loses its last digit. Claude-Session: https://claude.ai/code/session_01Utp6Ca6EBDpTBZk8v46Jjv Co-authored-by: Claude <noreply@anthropic.com>
|
repo:objectstack#5 · os-bill · session_01Utp6CYtTDvfPQDzMbZnN5X Contract-review-claim: session_01Utp6CYtTDvfPQDzMbZnN5X · head c0bb509 · 2026-11-26T12:24Z |
|
repo:objectstack#5 · os-bill · session_01Utp6CYtTDvfPQDzMbZnN5X Contract reviewServed-tier: Delta round 2 for PR #37511 (card #37327), declaration face, on top of records 7188888406 (head ① Derived judgmentsThe delta
Earlier findings
No new finding. ② Semver level
③ Boundary flags
Implemented-by: VERDICT: PASS |
|
repo:objectstack#5 · os-bill · session_01Utp6CYtTDvfPQDzMbZnN5X 席位核对Head-sha:
|
|
repo:objectstack#5 · os-bill · session_01Utp6CYtTDvfPQDzMbZnN5X Security label: |
…nban-lookup-lane-whole
|
repo:objectstack#5 · os-bill · session_01Utp6CYtTDvfPQDzMbZnN5X 席位核对Head-sha:
|
…nban-lookup-lane-whole
|
repo:objectstack#5 · os-bill · session_01Utp6CYtTDvfPQDzMbZnN5X 席位核对Head-sha:
|
|
repo:objectstack#5 · os-bill · session_01Utp6CYtTDvfPQDzMbZnN5X
Landing on seat ACCEPT 7194260707 (merge-only), which sits on the same-content delta PASS 7191998984. The maintainer named this PR on the seat thread's decision card: 「合并 #37511」 on 「合并已 ACCEPT 的非受管 PR #37511(看板按查找字段分列时显示完整计数)吗?」, at 13:20Z. Action: ready + auto-merge. Closes #37327 on merge. |
Fixes #37327
Clause-②: yes (widening) — @object-ui/i18n kanban.notLoaded
Metadata-protocol: none
维护者速读
What changes
On ListView's rows-handed board (lanes from the data: a lane field with no options, such as a lookup, one page of records handed in together with
laneStatisticQuery; the lanes past the page are drawn for a lookup only), the board's one grouped lane read now answers every lane figure the page cannot:KanbanLaneStatistic.ts:compileLaneReadQuerygeneralises the 列表里的看板:泳道按查找字段或分组决定时只拿一页数据,泳道「合计」只加这一页,却没有「仅已加载」标记 #36871 read. Beside the view's statistic it can ask each lane'sCOUNT(*)(aliascount,LANE_COUNT_ALIAS) and theSUMof the view'ssummarizeField; it is still ONE grouped aggregate per board.compileLaneStatisticQuerydelegates to it and compiles the same query as before. New readers:readLaneCounts(null on a partial answer) andreadLaneKeys(the lanes the answer names, null on a partial answer);LaneFigureReadingtakes an optionalalias.ObjectKanban.tsx: on the hosted, flat board (hostLaneRead) the read is asked whether or not the view draws a statistic, with the count and, where the header total is drawn, the total. The read now waits for the object definition, so it is asked once. The answer giveshostLaneCounts(a new board prop),headerTotals(the header summary'sfigures), and the lanes past the page: lane keys the page does not hold are appended after the page's lanes (boardColumns), titled by one read of the referenced records on the lane field's target object, by the key until that answers.KanbanImpl.tsx:KanbanBoardProps.laneCounts. A flat lane writes the whole count (wholeLaneCount); while the read is pending or cannot answer (no door, a refusal, a partial answer) it writes the page count marked+. The footcountand the column limit read the same count.LaneTotalreads the whole lane's sum offfigures, else the page's sum marked+.KanbanBoardCore.tsx: forwardslaneCounts(a prop, never a schema key).ui/packages/i18n/src/locales/*.ts(11 packs): new keykanban.notLoaded;count-families-11445.test.tslists it as a count-neutral tally..changeset/37327-kanban-lookup-lane-whole-counts.md: patch,@object-ui/plugin-kanbanand@object-ui/i18n.Clause-②: yes (widening):kanban.notLoadedjoins the exportedTranslationKeystype; nothing is removed or renamed.Metadata-protocol: none.Mechanism readings (dispatch A1 to A3):
readLaneKeys), not from the page.ListView.tsxis untouched. The fix lives inObjectKanban.tsxandKanbanLaneStatistic.ts: the claim's file surface put "the grouped lane read 列表里的看板:泳道按查找字段或分组决定时只拿一页数据,泳道「合计」只加这一页,却没有「仅已加载」标记 #36871 added" inKanbanBoardCore.tsx, but 列表里的看板:泳道按查找字段或分组决定时只拿一页数据,泳道「合计」只加这一页,却没有「仅已加载」标记 #36871 put it inObjectKanban.tsx.overlap-checkat head: clean; feat(spec,ui): a field can be read-only by hand at the console while writes keep it (uiReadonly / uiReadonlyWhen) #37436 sharesObjectKanban.tsxand merges cleanly.Rework round 1 (seat record 7188888406, note 7188910951)
Cards not loaded: 10instead ofNo cards. New keykanban.notLoadedin all eleven packs (Label: Nin each, so it is listed as a count-neutral tally incount-families-11445.test.ts).laneTargetObject); any other option-less lane field (text, number, boolean, date) draws the page's lanes only. Whole counts and totals still apply to every option-less field, falling to marked page figures where a key does not match.hasMore) on the real ListView board, the filter scope of the count read in the rig, the search pair and filter of a count-only read in the plugin-kanban suite, and unit pins forreadLaneCounts/readLaneKeys.sum(the header total and the 列表里的看板:泳道按查找字段或分组决定时只拿一页数据,泳道「合计」只加这一页,却没有「仅已加载」标记 #36871 footsum, folded groups included) is printed without binary residue (withoutBinaryResidue, 15 significant digits: the server's SUM carries no inputs to measure the widest scale from). Float pin: 0.1 + 0.2 reads0.3.$select: ['id', ...title fields](the lane field'sdisplayField, then the target's name field; every field when the target has only a legacytitleFormat). A code comment says why it is an id-IN read: the public aggregate door refuses a dottedgroupBy, and the list is bounded by one page of groups.@object-ui/i18npatch added.Tests
New top-level describe in the #36871 rig
ui/packages/app-shell/src/__tests__/listKanbanEveryRecord-12619.test.tsx: 70 deals, 0 to 59 alternating overacc-a/acc-b, 60 to 69 allacc-c(past the first page of 25). A rig self-check asserts 25 cards (13 / 12) drawn. Each pin has a control over a source with no grouped door:COUNT(*). A footcountreads 30 / 30. CONTROL: no door reads13+/12+.acc-cis drawn, titledCyan Corp(its account), with 0 cards and count 10. CONTROL: no door draws no such lane.summarizeFieldheader total reads 870 / 900 / 645, never 156 / 144, off the same one read (count+sum_amount). CONTROL: no door reads156+/144+.Round 1 adds, in the rig: refused-read and cut-read CONTROLs (
156+/144+,13+/12+, no past-page lane), filter scope (25 / 25 / 10 under amount above 9),Cards not loaded: 10, a text-laned board (30 / 30, nobronzelane), a float total (0.3), and the projected title read. InObjectKanban.laneStatistic-36370.test.tsx: the count-only read's filter and search pair, and areadLaneCounts/readLaneKeys/ sum-fold describe.Round 1 ablations (head 866e4bd, baseline 55/55 over the rig and the plugin-kanban suite, every leg restored to HEAD, git diff HEAD empty)
notLoadedforced false: 1 failed (the not-loaded pin).laneTargetObjectgate removed: 1 failed (the text-laned board drawsbronze).withoutBinaryResidue(total)changed tototal: 2 failed (the unit fold and the rig's float total).$selectspread emptied: 1 failed (the title-read pin).Ablations (committed first, ablation-replace.mjs on ObjectKanban.tsx, restored blob a099dc1b1a36 == HEAD each time)
The vitest config aliases
@object-ui/plugin-kanbanto itssrc/, so no dist rebuild sits between mutation and run.laneCounts={hostLaneCounts}changed tolaneCounts={undefined}. Anchor 1 to 0, blob a099dc1b1a36 to afe97a7a4ed1. 4 failed / 12 passed: both count pins, the count CONTROL and the past-page lane's count.extraLaneIds.length === 0changed toextraLaneIds.length >= 0. Blob to 41dee11b0e25. 2 failed / 14 passed: the past-page lane pin and the header-total pin, which reads that lane.figuresspread changed to an empty spread. Blob to db34e1679cef. 1 failed / 15 passed: the header-total pin.Suites and type-checks
vitest run packages/plugin-kanban/ packages/plugin-list/at 1cd8950: Test Files 275 passed, Tests 2651 passed.plugin-kanbanandapp-shelltype-checkexit 0. The rig,ListView.kanbanOwnsLanes-12619andObjectKanban.laneStatistic-36370: Test Files 3 passed, Tests 56 passed.Acceptance notes
Carried on cards (seat finding S5), not fixed here:
看板按查找字段分道:空值记录全在第一页之后时,「未分类」道不显示(接 #37327) #37516: the Uncategorized lane is not drawn when every empty-lookup record sits past page one.
看板按查找字段分道:第一页之后的分道只显示计数,没有办法加载它的卡片(接 #37327) #37517: loading the cards of a past-page lane.
Kanban in swimlanes draws no lane-foot statistic, though the view settings offer one #37326 (widened, 7188972467): swimlane page counts on this board.
Accepted nits, unchanged: N1 (
+over-marks a whole page when no read answers), N2 (whole counts unmarked while a re-ask is in flight), N4 (one refused aggregation drops the counts too; a lane field namedcountcompiles to no read), N5 (raw-key titles for unreadable or deleted references; extra-lane order follows the answer).Verification
ObjectKanban.tsxathostLaneRead/laneStatisticQuestion/extraLaneIds/boardColumns;KanbanImpl.tsxatwholeLaneCountandLaneTotal;compileLaneReadQueryinKanbanLaneStatistic.ts.cd ui && pnpm exec vitest run packages/app-shell/src/__tests__/listKanbanEveryRecord-12619.test.tsx. Expect 23 passed, with the 37327 describe's 14 pins.Derived gate families (local subset, head 1cd8950; the merge since changes no file of this diff)
dispatch-gates --ran: 38 derived, 37 run, 1 NOT-MEASURED, 0 UNRUN. All 37 exit 0. NOT-MEASURED:pnpm --dir ui exec vitest run scripts/, which needs a full ui build; no file in this diff is underui/scripts. Left to CI.repo:objectstack#5 · os-bill · session_01Utp6Ca6EBDpTBZk8v46Jjv
Round 1 local gates at head 866e4bd:
dispatch-gates --ran41 derived, 40 run and all exit 0, 1 NOT-MEASURED (pnpm --dir ui exec vitest run scripts/, needs a full ui build; CI Test UI green). CI at head 866e4bd: 47 success, 15 skipped, 0 failed.Rework round 2 (seat record 7191224755, verdict 7191238306)
Clause-②: yes (widening) — @object-ui/i18n kanban.notLoaded. Level stays patch.withoutBinaryResiduecomment now says a non-integer sum of more than fifteen significant digits loses its last digit, which the page path kept. Comment only.Round 2 head c0bb509 (changeset line and one comment). Local: the changeset families (
check-changeset-no-major,check-empty-changeset,check-adr-0087-registration,check:changeset-gate-self-tests),check:nul-bytesandcheck-closing-keyword-parityall exit 0; the other derived families read no file this round changed and were green at 866e4bd. CI at head c0bb509 (push run, before this body edit re-runs the body-reading checks): 45 success, 13 skipped, 0 failed.